'''
author: zpj
'''

# 日志级别
LOG_LEVEL = 'DEBUG'

###### serial settings ######

LEFT_SERIAL_PORT = '/dev/ttyS0'
RIGHT_SERIAL_PORT = '/dev/ttyS4'

# 串口波特率
SERIAL_BAUDRATE = 38400

###### redis settings ######

REDIS_HOST = 'localhost'
REDIS_PORT = 6379
REDIS_DB = 0
# REDIS_PASSWORD = 'jycy@0827'

###### redis 任务队列名称 ############

MQTT_RECEIVE_QUEUE = 'MQTT_RECEIVE_QUEUE'
MQTT_SEND_QUEUE = 'MQTT_SEND_QUEUE'

###### redis 全局配置变量Key名称 ######
# 当前使用者 (登录用户)
# CURRENT_USER = "current_user"

# # 当前声音大小
# CURRENT_VOICE_VALUE = "voice_value"

###### MQTT settings ######

MQTT_HOST = 'n366d1d0.ala.cn-hangzhou.emqxsl.cn'
MQTT_PORT = 8883
MQTT_CLIENT_CERT = 'emqxsl-ca.crt'
MQTT_AUTH = "IschemicPreTrainerAuth"
MQTT_PASSWORD = "2i2SGG7M:^yR4Sk"
MQTT_TOPIC = "IschemicPreTrainer"


###### 微信设置 ######

WECHAT_APP_ID = 'wx6b68018f27976cc2'
WECHAT_APP_SECRET = 'c3dda849176f993ae45c8e165542b9bd'
